package cerebrum.enums;

public enum LogCode {
    SUCCEED("成功", 1),

    FAILED("失败", 0);

    private String name;

    private int value;

    LogCode() {

    }

    LogCode(String name, int value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
